package pl.edu.agh.nn.neuron;

public abstract class AbstractSynapse {

	protected IOutputProducer from;
	protected double weight;

	public AbstractSynapse(IOutputProducer from) {
		weight = Math.random() - 0.5;
		this.from = from;
	}

	public IOutputProducer getFrom() {
		return from;
	}

	public double getWeight() {
		return weight;
	}

}
